/*
* @author dumeng
*/
'use strict'
import request from '@/utils/request'
/**
 * 查询报名列表
 */
export function queryPage(data) {
  return request({
    baseURL: '/API-ENTERPRISE-BACKEND/',
    url: '/backend/areaRegist/queryPage',
    method: 'post',
    data
  })
}

/**
 * 字典
 */
export function getDictByCode(dictCode) {
  return request({
    baseURL: '/API-ENTERPRISE-BACKEND/',
    url: '/backend/sysDictionary/getDictByCode',
    method: 'POST',
    data: {
      dictCode
    }
  })
}

/**
 * 培训班详情
 * @param {*} data
 */
export function courseDetails(data) {
  return request({
    baseURL: '/API-ENTERPRISE-BACKEND/',
    url: '/backend/areaDefinition/get',
    method: 'post',
    data
  })
}

/**
 * 报名详情
 * @param {*} data
 */
export function signDetails(data) {
  return request({
    baseURL: '/API-ENTERPRISE-BACKEND/',
    url: '/backend/areaRegist/get',
    method: 'post',
    data
  })
}

/**
 *审核
 */
export function aduit(data) {
  return request({
    baseURL: '/API-ENTERPRISE-BACKEND/',
    url: '/backend/areaRegist/aduit',
    method: 'post',
    data
  })
}

